﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class Curves
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class Curves
   ">
    <meta name="generator" content="docfx 2.56.4.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="CADability.GeoObject.Curves">
  
  
  <h1 id="CADability_GeoObject_Curves" data-uid="CADability.GeoObject.Curves" class="text-break">Class Curves
  </h1>
  <div class="markdown level0 summary"><p>This class provides static methods concerning the interaction
of two or more ICurve objects.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">Curves</span></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.ToString()</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="CADability.GeoObject.html">CADability.GeoObject</a></h6>
  <h6><strong>Assembly</strong>: CADability.dll</h6>
  <h5 id="CADability_GeoObject_Curves_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Curves</code></pre>
  </div>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GeoObject_Curves_Combine_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Double_.md&amp;value=---%0Auid%3A%20CADability.GeoObject.Curves.Combine(CADability.GeoObject.ICurve%2CCADability.GeoObject.ICurve%2CSystem.Double)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Curves.cs/#L824">View Source</a>
  </span>
  <a id="CADability_GeoObject_Curves_Combine_" data-uid="CADability.GeoObject.Curves.Combine*"></a>
  <h4 id="CADability_GeoObject_Curves_Combine_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Double_" data-uid="CADability.GeoObject.Curves.Combine(CADability.GeoObject.ICurve,CADability.GeoObject.ICurve,System.Double)">Combine(ICurve, ICurve, Double)</h4>
  <div class="markdown level1 summary"><p>Tries to combine two curves. crv1 and crv2 must be correct oriented and the endpoint of crv1 mut be the start-point of crv2</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static ICurve Combine(ICurve crv1, ICurve crv2, double precision)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">crv1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">crv2</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><p>the combined curve or null, if not possible</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GeoObject_Curves_GetCommonPlane_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_CADability_Plane__.md&amp;value=---%0Auid%3A%20CADability.GeoObject.Curves.GetCommonPlane(CADability.GeoObject.ICurve%2CCADability.GeoObject.ICurve%2CCADability.Plane%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Curves.cs/#L390">View Source</a>
  </span>
  <a id="CADability_GeoObject_Curves_GetCommonPlane_" data-uid="CADability.GeoObject.Curves.GetCommonPlane*"></a>
  <h4 id="CADability_GeoObject_Curves_GetCommonPlane_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_CADability_Plane__" data-uid="CADability.GeoObject.Curves.GetCommonPlane(CADability.GeoObject.ICurve,CADability.GeoObject.ICurve,CADability.Plane@)">GetCommonPlane(ICurve, ICurve, out Plane)</h4>
  <div class="markdown level1 summary"><p>Determines the common plane of the two curves. If there is a common plane,
the Parameter CommonPlane gets the result ant the function returns true. Otherwise
the function returns false.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool GetCommonPlane(ICurve c1, ICurve c2, out Plane CommonPlane)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">c1</span></td>
        <td><p>first curve</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">c2</span></td>
        <td><p>second curve</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Plane.html">Plane</a></td>
        <td><span class="parametername">CommonPlane</span></td>
        <td><p>the resulting common plane</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GeoObject_Curves_GetCommonPlane_CADability_GeoObject_ICurve___CADability_Plane__.md&amp;value=---%0Auid%3A%20CADability.GeoObject.Curves.GetCommonPlane(CADability.GeoObject.ICurve%5B%5D%2CCADability.Plane%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Curves.cs/#L540">View Source</a>
  </span>
  <a id="CADability_GeoObject_Curves_GetCommonPlane_" data-uid="CADability.GeoObject.Curves.GetCommonPlane*"></a>
  <h4 id="CADability_GeoObject_Curves_GetCommonPlane_CADability_GeoObject_ICurve___CADability_Plane__" data-uid="CADability.GeoObject.Curves.GetCommonPlane(CADability.GeoObject.ICurve[],CADability.Plane@)">GetCommonPlane(ICurve[], out Plane)</h4>
  <div class="markdown level1 summary"><p>Tries to find a plane that contains most of the given curves.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool GetCommonPlane(ICurve[] curves, out Plane CommonPlane)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a>[]</td>
        <td><span class="parametername">curves</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Plane.html">Plane</a></td>
        <td><span class="parametername">CommonPlane</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GeoObject_Curves_GetCommonPlane_CADability_GeoPoint_CADability_GeoObject_ICurve_CADability_Plane__.md&amp;value=---%0Auid%3A%20CADability.GeoObject.Curves.GetCommonPlane(CADability.GeoPoint%2CCADability.GeoObject.ICurve%2CCADability.Plane%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Curves.cs/#L499">View Source</a>
  </span>
  <a id="CADability_GeoObject_Curves_GetCommonPlane_" data-uid="CADability.GeoObject.Curves.GetCommonPlane*"></a>
  <h4 id="CADability_GeoObject_Curves_GetCommonPlane_CADability_GeoPoint_CADability_GeoObject_ICurve_CADability_Plane__" data-uid="CADability.GeoObject.Curves.GetCommonPlane(CADability.GeoPoint,CADability.GeoObject.ICurve,CADability.Plane@)">GetCommonPlane(GeoPoint, ICurve, out Plane)</h4>
  <div class="markdown level1 summary"><p>Determines the commomn plane of a point and a curve. Returns the common plane in the
parameter and true if there is such a plane. Returns false, if the point lies not
in the plane. <a class="xref" href="CADability.Precision.html">Precision</a></p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool GetCommonPlane(GeoPoint p, ICurve c2, out Plane CommonPlane)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a></td>
        <td><span class="parametername">p</span></td>
        <td><p>The point</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">c2</span></td>
        <td><p>The curve</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.Plane.html">Plane</a></td>
        <td><span class="parametername">CommonPlane</span></td>
        <td><p>The common plane</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><p>true, if there is a common plane, else false</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GeoObject_Curves_Intersect_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Boolean_.md&amp;value=---%0Auid%3A%20CADability.GeoObject.Curves.Intersect(CADability.GeoObject.ICurve%2CCADability.GeoObject.ICurve%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Curves.cs/#L637">View Source</a>
  </span>
  <a id="CADability_GeoObject_Curves_Intersect_" data-uid="CADability.GeoObject.Curves.Intersect*"></a>
  <h4 id="CADability_GeoObject_Curves_Intersect_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Boolean_" data-uid="CADability.GeoObject.Curves.Intersect(CADability.GeoObject.ICurve,CADability.GeoObject.ICurve,System.Boolean)">Intersect(ICurve, ICurve, Boolean)</h4>
  <div class="markdown level1 summary"><p>Returns the parameters of the intersection points of curve1 with curve2.
Parameters are with respect to curve1. The two curves must reside in a common plane.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static double[] Intersect(ICurve curve1, ICurve curve2, bool onlyInside)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">curve1</span></td>
        <td><p>First curve for intersection</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">curve2</span></td>
        <td><p>Second curve for intersection</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td><span class="parametername">onlyInside</span></td>
        <td><p>if true, only intersction point that are actually on the curves are returned
otherwise also intersection points on the extension of ther curves are returned</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span>[]</td>
        <td><p>Parameters for the intersection points</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GeoObject_Curves_Intersect_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Double____System_Double____CADability_GeoPoint____.md&amp;value=---%0Auid%3A%20CADability.GeoObject.Curves.Intersect(CADability.GeoObject.ICurve%2CCADability.GeoObject.ICurve%2CSystem.Double%5B%5D%40%2CSystem.Double%5B%5D%40%2CCADability.GeoPoint%5B%5D%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Curves.cs/#L667">View Source</a>
  </span>
  <a id="CADability_GeoObject_Curves_Intersect_" data-uid="CADability.GeoObject.Curves.Intersect*"></a>
  <h4 id="CADability_GeoObject_Curves_Intersect_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Double____System_Double____CADability_GeoPoint____" data-uid="CADability.GeoObject.Curves.Intersect(CADability.GeoObject.ICurve,CADability.GeoObject.ICurve,System.Double[]@,System.Double[]@,CADability.GeoPoint[]@)">Intersect(ICurve, ICurve, out Double[], out Double[], out GeoPoint[])</h4>
  <div class="markdown level1 summary"><p>Calculates the intersection points of the two curves.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static int Intersect(ICurve curve1, ICurve curve2, out double[] par1, out double[] par2, out GeoPoint[] intersection)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">curve1</span></td>
        <td><p>First curve</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">curve2</span></td>
        <td><p>Second curve</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span>[]</td>
        <td><span class="parametername">par1</span></td>
        <td><p>Resulting parameters for the first curve</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span>[]</td>
        <td><span class="parametername">par2</span></td>
        <td><p>Resulting parameters for the second curve</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoPoint.html">GeoPoint</a>[]</td>
        <td><span class="parametername">intersection</span></td>
        <td><p>Three dimensional intersection points</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Int32</span></td>
        <td><p>Number of intersection points</p>
</td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GeoObject_Curves_Overlapping_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Double_System_Double__System_Double__System_Double__System_Double__.md&amp;value=---%0Auid%3A%20CADability.GeoObject.Curves.Overlapping(CADability.GeoObject.ICurve%2CCADability.GeoObject.ICurve%2CSystem.Double%2CSystem.Double%40%2CSystem.Double%40%2CSystem.Double%40%2CSystem.Double%40)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Curves.cs/#L869">View Source</a>
  </span>
  <a id="CADability_GeoObject_Curves_Overlapping_" data-uid="CADability.GeoObject.Curves.Overlapping*"></a>
  <h4 id="CADability_GeoObject_Curves_Overlapping_CADability_GeoObject_ICurve_CADability_GeoObject_ICurve_System_Double_System_Double__System_Double__System_Double__System_Double__" data-uid="CADability.GeoObject.Curves.Overlapping(CADability.GeoObject.ICurve,CADability.GeoObject.ICurve,System.Double,System.Double@,System.Double@,System.Double@,System.Double@)">Overlapping(ICurve, ICurve, Double, out Double, out Double, out Double, out Double)</h4>
  <div class="markdown level1 summary"><p>Returns true if curve1 and curve2 are overlapping curves. The overlapping intervalls for both curves are
returned in <code data-dev-comment-type="paramref" class="paramref">from1</code>, <code data-dev-comment-type="paramref" class="paramref">to1</code>, <code data-dev-comment-type="paramref" class="paramref">from2</code> and <code data-dev-comment-type="paramref" class="paramref">to2</code>.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static bool Overlapping(ICurve curve1, ICurve curve2, double precision, out double from1, out double to1, out double from2, out double to2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">curve1</span></td>
        <td><p>First curve</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="CADability.GeoObject.ICurve.html">ICurve</a></td>
        <td><span class="parametername">curve2</span></td>
        <td><p>Second curve</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">precision</span></td>
        <td><p>Required precision</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">from1</span></td>
        <td><p>Starting parameter for first curve</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">to1</span></td>
        <td><p>Ending parameter for first curve</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">from2</span></td>
        <td><p>Starting parameter for second curve</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">to2</span></td>
        <td><p>Ending parameter for second curve</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Boolean</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/new/master/apiSpec/new?filename=CADability_GeoObject_Curves.md&amp;value=---%0Auid%3A%20CADability.GeoObject.Curves%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/SOFAgh/CADability/blob/master/CADability/Curves.cs/#L379" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
